#ifndef INIT_WIDGET_H
#define INIT_WIDGET_H
#include<QWidget>
#include<QHBoxLayout>
#include<QVBoxLayout>
#include<QSlider>
#include<QPushButton>
#include<QLabel>
#include<QObject>
#include<QSlider>
#include<QGroupBox>
#include<QWidget>
#include<QComboBox>
#include<Q3DBars>
#include <QtDataVisualization>
using namespace QtDataVisualization;
class  init_widget:public QObject
{
    Q_OBJECT
public:
     explicit init_widget(Q3DBars *bar);
private:
    Q3DBars *m_bars;
    QWidget *widget;
    QGroupBox *box;
    QHBoxLayout *hb;
    QHBoxLayout *hb1;
    QHBoxLayout *hb2;
    QHBoxLayout *hb3;
    QHBoxLayout *hb4;
    QVBoxLayout *vb;
    QLabel *label1;//水平旋转
    QSlider *slider1;
    QLabel *label2;//垂直旋转
    QSlider *slider2;
    QLabel *label3;//主题
    QComboBox *combox;
    QLabel *label4;//字体大小
    QSlider *slider3;
    float x_roation;
    float y_roation;


private:
    QGroupBox *init_box(QGroupBox* m_box);
public :
    void show_widget();
public slots:
    void slot_slider1(int num);
    void slot_slider2(int num);
    void slot_slider3(int num);
    void slot_combox();

};
#endif // INIT_WIDGET_H
